<script setup lang="ts">
import { Table } from "ant-design-vue"

const slots = defineSlots<InstanceType<typeof Table>["$slots"]>()
</script>

<template>
  <Table v-bind="$attrs">
    <template v-for="(_, key) in slots" :key="key" #[key]="params">
      <slot :name="key" :key="key" v-bind="params"></slot>
    </template>
  </Table>
</template>
